<?php

namespace Admin\Controller;


class UserfzController extends AdminController{

	
	
	public function _filter(&$where){
		
		if(!empty($_GET['title'])){
			$where['title'] = array('like','%' . $_GET['title'] . '%');
			
		}
		return $where;
	}

	public function _before_add(){
	    $_POST['create_time'] = time();
    }
    public function _before_edit(){
        $_POST['update_time'] = time();
    }
	

	
}

?>